/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const router = {
  path: '/cadDesign',
  component: Layout,
  name: 'cadDesign',
  meta: {
    title: '出图管理',
    icon: 'orders'
  },
  children: [
    {
      path: 'cadQuotationList',
      component: () => import('@/views/cadDesign/cadQuotation/cadQuotationList'),
      name: 'cadQuotationList',
      meta: {
        title: '出图询价'
      },
      children: []
    },
    {
      path: 'cadQuotationDetail/:id',
      hidden: true,
      component: () => import('@/views/cadDesign/cadQuotation/cadQuotationDetail'),
      name: 'cadQuotationDetail',
      meta: {
        activeMenu: '/cadDesign/cadQuotationList',
        title: '出图询价详情'
      }
    },
    {
      path: 'cadOrderList',
      component: () => import('@/views/cadDesign/cadOrder/cadOrderList'),
      name: 'cadOrderList',
      meta: {
        title: '出图订单'
      },
      children: []
    },
    {
      path: 'cadOrderDetail/:id',
      hidden: true,
      component: () => import('@/views/cadDesign/cadOrder/cadOrderDetail'),
      name: 'cadOrderDetail',
      meta: {
        activeMenu: '/cadDesign/cadOrderList',
        title: '出图订单详情'
      }
    }
  ]
}
export default router
